package com.ygsoft.accounttools;

import java.io.IOException;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import jxl.write.WriteException;

public class CleanAccountMapping extends AbstractAccountMappingTools{
  
    public static void main(String args[]) throws WriteException, IOException{
        
        ApplicationContext ac = 
            new ClassPathXmlApplicationContext("applicationContext.xml");
        
        CleanAccountMapping cleanAccountMapping = 
                        (CleanAccountMapping)ac.getBean("cleanAccountMapping");

        cleanAccountMapping.dbUtils.cleanTable("YGNBI.NBI_COMMON_MAPPING_ACCOUNT");

    }
}
